package com.project.auth.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.project.auth.model.system.SysMenu;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Description
 * @Author : XIAOMING
 * @create 2023/4/7 11:27
 */
@Mapper
public interface SysMenuMapper extends BaseMapper<SysMenu> {
    //多表关联查询：用户角色关系表、角色菜单关系表、菜单表
    List<SysMenu> findMenuListByUserId(Long userId);
}
